use crate::extension::index::index::query::query::query_factory::Query;

pub struct FieldSelector {
    pub query: Query,
}

impl FieldSelector {
    pub fn of(query: Query) -> Self {
        FieldSelector { query }
    }

    pub fn all(query: Query) -> Self {
        FieldSelector { query }
    }

    pub fn and_query(other: Query) -> Self {
        FieldSelector { query: other }
    }
}
